package online.lmds.sdmanage.main.base;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import online.lmds.sdmanage.common.entity.BaseEntity;

/**
 * 上传图片记录表
 * @author Sunny  An
 *
 */
@JsonInclude(Include.NON_NULL)
public class UploadImage extends BaseEntity {
    
    /** 图片url */
    private String imgUrl;
    
    /** 如果是用户上传，保存用户id */
    private Integer userId;
    
    /** 如果是管理员上传，保存管理员id */
    private Integer adminId;
   

    
    
    
    
    
    public UploadImage(Integer id) {
        super(id);
    }

    public UploadImage() {
        super();
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl == null ? null : imgUrl.trim();
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getAdminId() {
        return adminId;
    }

    public void setAdminId(Integer adminId) {
        this.adminId = adminId;
    }

    
    


}
